using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace OBUCare.Core.Models
{
    public partial class REPAIR_TYPE
    {
        [DisplayName("编号")]
        [ScaffoldColumn(false)]
        public int ID { get; set; }

        [DisplayName("标题")]
        [Required(ErrorMessage = "*请输入标题")]
        public string TITLE { get; set; }

        [DisplayName("起始时间")]
        [Required(ErrorMessage = "*请输入起始时间")]
        public int FROM { get; set; }

        [DisplayName("结束时间")]
        [Required(ErrorMessage = "*请输入结束时间")]
        public int TO { get; set; }

        [DisplayName("单位")]
        [Required(ErrorMessage = "*请输入单位")]
        public int UNIT { get; set; }

        [DisplayName("是否免费")]
        public bool CHARGED { get; set; }

        [DisplayName("状态")]
        [Required(ErrorMessage = "*请输入状态")]
        public int STATUS { get; set; }

        [DisplayName("备注")]
        public string REMARK { get; set; }


        [DisplayName("创建人")]
        [ScaffoldColumn(false)]
        public string CREATED_BY { get; set; }

        [DisplayName("创建时间")]
        [ScaffoldColumn(false)]
        public System.DateTime CREATED_DATE { get; set; }

        [DisplayName("修改人")]
        [ScaffoldColumn(false)]
        public string MODIFY_BY { get; set; }

        [DisplayName("修改时间")]
        [ScaffoldColumn(false)]
        public System.DateTime MODIFY_DATE { get; set; }
    }
}
